package com.itheima.chapter06.abstract1.test1;
//继承
public class Test {
    public static void main(String[] args) {
        Cat c =new Cat();
        c.eat();
        c.drink();
        System.out.println("____________");
        Dog d =new Dog();
        d.eat();
        d.drink();
    }
}
